package com.blog.feign;

import com.blog.seckill.goods.Good;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName GoodFeignClient
 * @Destription
 * @Author 天堂小野花
 * @Date 2025/8/25  18:48
 * @Version 1.0
 */
@FeignClient("service-sec-goods")
public interface GoodFeignClient {
    @GetMapping("/good/base/selectGoodById/{rid}")
    public Good selectGoodById(@PathVariable Integer rid);
}
